package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 甲方端小程序统计分析
 *
 * @author lyh
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "甲方端小程序统计分析社保详情")
@Data
public class JfStatisticsAnalyseVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "统计名称;人力成本/薪资成本/社保成本/商保成本")
    private String statisticsName;

    @ApiModelProperty(notes = "年份")
    private String year;

    @ApiModelProperty(notes = "子项")
    List<JfStatisticsAnalyseItemVO> itemList;


    @ApiModelProperty(notes = "成本占比")
    List<Percentage> percentageList;

    @Data
    public static class Percentage {

        @ApiModelProperty(notes = "名称")
        private String name;

        @ApiModelProperty(notes = "比例")
        private BigDecimal proportion;

    }
}
